package com.etheart.music.service;

import java.util.List;

import org.springframework.transaction.annotation.Transactional;

import com.etheart.model.entity.Song;

public interface SongService {

	@Transactional(readOnly = true)
	public abstract List<Song> findAll();

	@Transactional
	public abstract void addSong(Song song);

	@Transactional
	public abstract void updateSong(Song song); 

	@Transactional
	public abstract void deleteSong(Song song);

	public abstract Song findById(Long id);

	public abstract Song findByNetId(String netId);

	public abstract String parseLrcContent(Song song);

	
}